<%--
    Document   : homeadmin
    Created on : Jul 22, 2011, 10:53:38 PM
    Author     : Hai
--%>

<jsp:include page="adminheader.jsp"></jsp:include>
<div id="main">
    <div id="adminManager">
        <jsp:include page="lefmenu.jsp"></jsp:include>
    </div>
    <div id="contentAdmin">
        <fieldset>
            <legend>Change password admin</legend>

            <form action="controlertuan">
                <table border="0">
                    <tr>
                        <td>Username</td>
                        <td> <%= session.getAttribute("admin").toString()%></td>
                    </tr>
                    <tr>
                        <td>Old Password</td>
                        <td><input type="password" name="OldPassword"/></td>
                    </tr>

                    <tr>
                        <td>New Password</td>
                        <td><input type="password" name="NewPassword"/></td>
                    </tr>
                    <tr>
                        <td>Confirm Password</td>

                        <td><input type="password" name="ConfirmPassword"/></td>
                    </tr>
                    <tr>
                    <input type="hidden" value="<%= session.getAttribute("admin").toString()%>" name="username" />
                    <td><input type="submit" value="Update" name="action"/> </td>
                    <td><input type="reset" value="Cancel"/></td>
                        <%if (request.getAttribute("eros") == null) {
                                    } else {
                                        out.print(request.getAttribute("eros"));
                                    }
                        %>
                    </tr>
                </table>
            </form>


        </fieldset>
    </div>
</div>
<div id="footer">

</div>
</div>
</body>
</html>
